using System;
using System.Web.Mvc;
using VictorBlaga.DocumentManagement.Core.Models;
using VictorBlaga.DocumentManagement.Helpers;

namespace VictorBlaga.DocumentManagement.Models
{
    public class TeamViewModel : ViewModelBase
    {
        public string Name { get; set; }
        public int? ManagerId { get; set; }
        public string ManagerName { get; set; }
        public User[] Managers { get; set; }
        public SelectList ManagerList
        {
            get
            {
                return SelectListHelper.CreateSelectList(Managers, "ID", "Fullname");
            }
        }
    }
}